package com.wondersgroup.service;

import com.wondersgroup.entity.Person;
import com.wondersgroup.entity.Record;
import com.wondersgroup.entity.RecordVo;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface PersonService {


  Map<String,Object> signOut(String openId, String dwid,Date kssj, Date jssj);

  Map<String,Object> isRegister(String openId,String yxbz);

  Map<String,Object> visit(String openId) throws Exception;

  Map<String,Object> signIn(Record record) throws Exception;

  List<Person>  getAllPersons(String yxbz);

  RecordVo getLatestRecord (String openId, String dwid) throws Exception;
}
